PROJECT(SWIG_PYTHON_COLIBRI)

set(PYTHON_SRC_DIR /usr/include/python2.5)
set(PYTHON_LIB_DIR /usr/lib/python2.5)

set(SOURCES example.cpp example_wrap.c)
set(INTERFACE example.i)

SET_SOURCE_FILES_PROPERTIES(example_wrap.c GENERATED)

INCLUDE_DIRECTORIES(${BOOST_DIR} ${PYTHON_SRC_DIR})
LINK_DIRECTORIES(${PYTHON_LIB_DIR})

add_custom_command(OUTPUT example_wrap.c
                   COMMAND swig -python
				   ARGS ${INTERFACE}
                   )

add_library(example SHARED ${SOURCES})

